#pragma once
#include "D3dApp.h"
class UIControl;

class UIEvent
{
protected:
	UIControl*	m_pSender;
	bool		m_isHandled;
public:
				UIEvent(UIControl* p_pSender);
	virtual		~UIEvent();

	UIControl*	getSender();
	bool		isHandled();
	void		handle(bool used = true);
};
